home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / book / mac / ch11 / 11fig03.wrl < prev    next >
Text File  |  1996-09-23  |  649b  |  41 lines

  1. #VRML V2.0 utf8
  2. # The VRML 2.0 Sourcebook
  3. # Copyright 1997 By
  4. # Andrea L. Ames, David R. Nadeau, and John L. Moreland
  5. Group {
  6.     bboxCenter 0.0 0.0 0.0
  7.     bboxSize   25.0 25.0 25.0
  8.     children [
  9.         Shape {
  10.             appearance Appearance {
  11.                 material Material {
  12.                     diffuseColor 0.0 1.0 0.0
  13.                 }
  14.             }
  15.             geometry Box {
  16.                 size 25.0 2.0 2.0
  17.             }
  18.         },
  19.         Shape {
  20.             appearance Appearance {
  21.                 material Material {
  22.                     diffuseColor 1.0 1.0 0.0
  23.                 }
  24.             }
  25.             geometry Box {
  26.                 size 2.0 25.0 2.0
  27.             }
  28.         },
  29.         Shape {
  30.             appearance Appearance {
  31.                 material Material {
  32.                     diffuseColor 0.5 1.0 0.0
  33.                 }
  34.             }
  35.             geometry Box {
  36.                 size 2.0 2.0 25.0
  37.             }
  38.         }
  39.     ]
  40. }
  41.